package  
{
	import flash.display.MovieClip;
	import flash.geom.Point;
	/**
	 * ...
	 * @author ...
	 */
	public class Marcador extends MovieClip
	{
		var marker:MovieClip
		var AR_Ponto:Array
		var AR_Marker:Array
		
		public function Marcador() 
		{
			AR_Ponto = []
			AR_Marker = []
			
			// Fora de Casa
			AR_Ponto.push(new Point(561, 710));
			
			// Sala
			AR_Ponto.push(new Point(561, 588));
			AR_Ponto.push(new Point(514, 588));
			AR_Ponto.push(new Point(514, 420));
			AR_Ponto.push(new Point(405, 420));
			AR_Ponto.push(new Point(405, 489));
			AR_Ponto.push(new Point(339, 489));
			AR_Ponto.push(new Point(339, 365));
			
			// Cozinha
			AR_Ponto.push(new Point(339, 238));
			AR_Ponto.push(new Point(264, 238));
			AR_Ponto.push(new Point(264, 305));
			AR_Ponto.push(new Point(264, 372));
			AR_Ponto.push(new Point(337, 372));
			AR_Ponto.push(new Point(337, 522));
			
			//Sala
			AR_Ponto.push(new Point(584, 522));
			AR_Ponto.push(new Point(584, 330));
			AR_Ponto.push(new Point(694, 330));
			
			//Quarto 1
			AR_Ponto.push(new Point(776, 330));
			AR_Ponto.push(new Point(584, 330));
			
			// Sala
			AR_Ponto.push(new Point(584, 219));
			
			// Banheiro
			AR_Ponto.push(new Point(505, 219));
			AR_Ponto.push(new Point(411, 219));
			AR_Ponto.push(new Point(504, 219));
			AR_Ponto.push(new Point(585, 219));
			
			//Sala
			AR_Ponto.push(new Point(585, 485));
			AR_Ponto.push(new Point(733, 485));
			
			// Quarto 2
			AR_Ponto.push(new Point(733, 443));
			AR_Ponto.push(new Point(639, 443));
			AR_Ponto.push(new Point(639, 488));
			AR_Ponto.push(new Point(514, 488));
			
			// Sala
			AR_Ponto.push(new Point(514, 594));
			AR_Ponto.push(new Point(560, 594));
			AR_Ponto.push(new Point(560, 655));
			AR_Ponto.push(new Point(759, 655));
			
			for (var i:int = 0; i < AR_Ponto.length; i++)
			{
				var tempMarker:MovieClip = new Sinalizador();
				
				tempMarker.x =  AR_Ponto[i].x;
				tempMarker.y =  AR_Ponto[i].y;
				
				addChild(tempMarker);
				AR_Marker.push(tempMarker);
			}
			
		}
		
	}

}